/**
 * @author hoang.pt
 * @version $Id: MultiDemo.java 175 2010-09-10 03:50:49Z phantichhoang $
 */

package test1.problem2;

/**
 * Multi Demo wait and notify
 * @author hoang.pt
 */
public class MultiDemo {
    /**
     * constructor
     */
    public MultiDemo() {

        //init data
        Data d = new Data();

        //init thread  then start
        new Thread1(d);
        new Thread2(d);

    }
    
    /**
     * main
     * @param args
     */
    public static void main(String[] args)
    {
        new MultiDemo();
    }
}
